package com.ruicar.afs.cloud.channel.register.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.channel.register.condition.ChannelListingCarRelTempCondition;
import com.ruicar.afs.cloud.channel.register.entity.ChannelListingCarTemp;
import com.ruicar.afs.cloud.channel.register.vo.ChannelListingCarTempVo;

import java.util.List;

public interface ChannelListingCarTempService extends IService<ChannelListingCarTemp> {


    List<ChannelListingCarTempVo> getCarById(Long id);

    IPage<List<ChannelListingCarTempVo>> getApplyListingCarTemp(Page page, ChannelListingCarRelTempCondition channel);

    List<ChannelListingCarTempVo> getCarByVin(Long channelId, String vin);

    IPage<List<ChannelListingCarTempVo>> getRegister(Page page, ChannelListingCarRelTempCondition channel, List<String> roles, String key);

    List<Long> getRegisterIds(String userName, String key);

    IPage<List<ChannelListingCarTempVo>> getNewChannelListingCarTemp(Page page, ChannelListingCarRelTempCondition channel, List<Long> ids);

}
